home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
bbsutil
/
pb125a_1.zip
/
CTL.LZH
/
C1
Wrap
Text File
|
1993-08-02
|
65KB
|
2,873 lines
BULLETDEF&Requiem
SysOp Warning
BBS Software
BULLETTYP)SetActivity(Bulletins Menu)
*Disp
if (/EXPERT)=(Y) then linefeed(1)
If (/EXPERT)=(Y) Then Goto(prompt)
*Sdisp
Display(Display\blt,/:SEC/)
*Prompt
jump(Pauseprompt)
Menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (q:loadmain,g:goodbye,x:expert,h:help,?:sdisp,n:new)
Number(%RESP%) ;Is it a number??
IfNotTrue ( Goto (bsel))
Log(--,Bulletin %RESP% Read.)
Display (Display\Bull%RESP%)
goto (disp)
*Loadmain
LoadMem(control\main.mnu)
*Expert
loadsub(control\macros\expert.ctl)
goto (disp)
*help
Log(--,Viewing Bulletins Menu Help)
Display (Display\help\BULL,/:SEC/)
Goto (disp)
*new
LoadSub(control\macros\newbull.ctl)
enter
goto (disp)
*goodbye
LoadSub(control\macros\bye.ctl)
Goto (disp)
*bsel
LoadSub(control\macros\badsel.ctl)
Goto (disp)
*Pauseprompt
DefPause($7$&0&[Send more text?]$0$&3& (&11&S&3&)top, (&11&N&3&)onstop or (&11&C&3&)ontinue?&12&: &7&)
DefPif(s:stop,n:nonstop,g:goodbye) ;define our pause prompt...
ret
MESSMNU║*disp
SetActivity (Message Menu)
if (/EXPERT)=(Y) then goto (prompt)
*sdisp
Display (Display\MESS,/:SEC/)
*prompt
if (/Expert)=(Y) then say()
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Left. &3&[%AREANAME%] &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (G:GOODBYE,H:HELP,?:SDISP,X:EXP,J:CHANGE,S:SEARCH,SEL:SELECT,M:READER,COPY:COPY,SC:SCAN,Q:MAINMN,R:READMN,E:ENTERMN,F:FILESMN,A:SL0)
goto (bsel)
*bsel
loadsub(control\macros\badsel.ctl)
goto (disp)
*GOODBYE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*HELP
EnufSec(10)
IfNotTrue(Goto(BSel))
Display(display\help\MESS,/:SEC/)
Log (--,Viewed Message Menu Help)
Goto (Disp)
*EXP
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
*CHANGE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\CHG.CTL)
Goto(Disp)
*SEARCH
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\SEARCHM.CTL)
Goto(Disp)
*SELECT
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\SELECT.CTL)
Goto(Disp)
*READER
EnufSec(20)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\MREADER.CTL)
Goto(Disp)
*COPY
EnufSec(100)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\MCOPY.CTL)
Goto(Disp)
*SCAN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\SCANM.CTL)
Goto(Disp)
*MAINMN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\MAIN.MNU)
*READMN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\READ.CTL)
Goto(Disp)
*ENTERMN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\ENTER.CTL)
Goto(Disp)
*FILESMN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\FILES.MNU)
*SL0
LoadSub(CONTROL\MACROS\ABAND.CTL)
Goto(Disp)
MAINMNUπ*Disp
SetActivity (Main Menu)
if(/EXPERT)=(Y) then linefeed(1)
if(/EXPERT)=(Y) then Goto (Prompt)
*sdisp
Display (display\main,/:SEC/)
*Prompt
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (G:BYE,H:HELP,?:SDISP,X:EXP,P:PAGE,Y:STATS,N:NEWS,C:CMNT,B:BMN,Q:QMN,F:FMN,M:MMN,D:DMN,L:LIST,@:SMN,WHO:WHO,CHAT:CHAT,FIND:FND,BANK:BNK,VER:SL0)
Goto (bsel)
*bSel
LoadSub(control\macros\badsel.ctl)
Goto (disp)
*MACM
LoadMem(CONTROL\MACSIG.MNU)
*BYE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*HELP
EnufSec(10)
IfNotTrue(Goto(BSel))
Display(display\help\main,/:SEC/)
Log (--,Viewed Main Menu Help)
Goto (Disp)
*EXP
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
*PAGE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\PAGE.CTL)
Goto(Disp)
*STATS
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\STATS.CTL)
Goto(Disp)
*NEWS
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\NEWS.CTL)
Goto(Disp)
*CMNT
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\COMMENT.CTL)
Goto(Disp)
*BMN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\BULLET.MNU)
*QMN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\QUES.MNU)
*FMN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\FILES.MNU)
*MMN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\MESS.MNU)
*DMN
EnufSec(20)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\DOORS.MNU)
*LIST
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\LIST.CTL)
Goto(Disp)
*SMN
EnufSec(100)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\SYSOP.MNU)
*WHO
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\MWHO.CTL)
Goto(Disp)
*CHAT
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\MCHAT.CTL)
Goto(Disp)
*FND
LoadSub(CONTROL\MACROS\FIND.CTL)
Goto(Disp)
*BNK
LoadSub(CONTROL\MACROS\BANK.CTL)
Goto(Disp)
*SL0
LoadSub(CONTROL\MACROS\VER.CTL)
Goto(Disp)
ENTERATTCTLσSay(&14&Calculating free storage space...*)
Zap(varr.%NODE%,%var%r)
ClearMem
FreeSpace(%CDRIVE%:)
setequal(l=%aresp%)
CmpVal(%ARESP%,%MINSPACE%)
IfTrue (Goto (notenufs))
eline(38)
*pickprot
Display (display\upPROTS1)
MenuAsk (&3&Which transfer protocol would you like to use?&12&: &15&*)
If (%RESP%)=(Q) Then Return
Len(%RESP%)
NotIf (%ARESP%)=(1) Then Goto (Pprob)
Seek(protocol\%RESP%-AU.BT)
IfTrue (Goto (Pok))
*pprob
loadsub(control\macros\badsel.ctl)
Goto (pickprot)
*Pok
addcomma(%var%l)
Say(&CR&&11&%ARESP% &15&bytes free.)
SetEqual(r=%RESP%)
cMenuAsk%cron% (&CR&&3&Please enter the &11&name &3&of the file to attach&12&:&15& *)
If (%RESP%)=(<CR>) Then Return
SetEqual(x=%RESP%)
Seek(%ATTPAT%%var%x)
IfTrue (Goto (alreadyhere))
Say(&CR&&11&We're ready to receive the file. Please start sending now.)
If (%BAUD%)=(LOCAL) Then Goto (locul)
FixFile(protocol\%var%r-au.bt,protocol\%var%r-au.bat)
Exec(protocol\%var%r-au.BAT│)
Kill(protocol\%var%r-au.bat)
Goto (success)
*locul
MenuAsk (&3&Please enter the &10&path&3& for this file&12&: &15&*)
fCopy(%RESP%\%var%x,%ATTPAT%%var%x)
Goto (success)
*success
NotIf (%ARESP%)=(0) Then Goto (aborted)
Log(--,Attach uploaded (%var%x))
Display(display\attsucc)
return
*notenufs
display(display\nospce)
Return
*aborted
SetEqual(x=)
FlushOut
Log(--,Attach upload aborted (%var%x))
Display(display\attabt)
Return
*alreadyhere
Display (display\HERENOW)
Goto (pok)
OPENCTLp jump (InitSetup)
Jump (GraphDetect)
Display (display\WELCOME)
jump (ripsetup)
setequal(t=0)
*CONT
inc(t)
if (%VAR%T)=(5) then loadmem(control\no.ctl)
MenuAsk%MIN1% (&CR&&3&Please enter your first name here&12&: &15&*)
SetEqual (a=%RESP%)
Find (%var%a, )
NotIf (%ARESP%)=(0) then Goto (Check)
MenuAsk (&3& Please enter your last name here&12&: &15&*)
SetEqual (b=%RESP%)
*CHECK
jump (DoName)
*STSEEK
SeekUser (%NAME%)
if (%ARESP%)=(No) then goto (NotFound)
If (%NDLOCK%) = (1) then Loadmem(control\lockout.ctl)
Say (&CR&&3&Are you the "%NDNAME%" from "%NDFROM%"?*)
jump (YesNo)
If (%RESP%)=(No) then Goto (dupname)
MenuEqual (e=%NDPASS%)
Say (&CR&Dots will echo instead of actual letters of your password.)
SetEqual (f=0)
*PASSWORD
Say (&3&What is your password?&11& ( )&15&*)
Back(21)
cGetPass%MIN1%%LEN20% (.)
If (%RESP%) = (%VAR%E) then Goto (Ok)
inc(f)
Log (--,(%NAME%) Password (%RESP%) incorrect...)
If (%VAR%F) = (3) then Goto (lasttry)
If (%VAR%F) = (4) then Goto (badpass)
beep(1)
Say(&CR&&12&Password incorrect. Try again please...&CR&)
goto (password)
*LASTTRY
Say (&CR&&12&This is your last try! Next time you will be logged off!&CR&)
goto (password)
*NOTFOUND
badseek(%NAME%)
iftrue (loadmem(control\badname.ctl))
beep(1)
Say (&CR&We couldn't find "%NAME%" in our user file.)
Say (&CR&&3&Did you spell your name correctly?*)
jump (YesNo)
If (%RESP%)=(No) then Goto (TryAgain)
Display (display\NONMEMB)
Say (&CR&&3&Would you like to become a member of %BBS%?*)
jump (YesNo)
If (%RESP%)=(No) then loadmem (control\refused.ctl)
LoadMem (control\newuser.ctl)
*TRYAGAIN
Say (&CR&&12&Try again ...)
Log (--,Attempted logon as %NAME%)
Goto (Cont)
*DUPNAME
Display (display\DUPE)
Goto (Cont)
*BADPASS
LoadMem(control\badpass.ctl)
*OK
SetActivity (Logging On...)
Goto (Connect) ;password's OK so let them in...
*CONNECT
UserLogin(%NDNUMB%,User %NDNUMB%: %NDNAME% Logged On (%BAUD%))
If (%ARESP%)=(ALREADY ON) then Goto (alreadyon)
If (/SEC)=(%SYSSEC%) then Goto (syssec)
*CONCLR
ClearScr
selarea(/:lastmsg/)
listfile(areas\farea/:lastmsg/)
Log(->,Call #%CALLERS%, %GRAPHICS%, %NDFROM%, Last: /:LAST/, Sec: /:SEC/)
If (/SUB)=(Y) then Goto (subscriber)
*SECSHOW
InpClose
Display (display\sec/:SEC/)
fDate(display\newsltr.asc)
CmpDate(/:LAST/,%ARESP%)
IfNotTrue( display (display\newnews))
Say(&3&Would you like to view our newsletter?*)
jump (YesNo)
If (%RESP%) = (No) then Goto (mailchk)
Log(--,Viewed Newsletter)
Display(display\NEWSLTR)
linefeed(1)
Enter
*MAILCHK
cmpval(/:lastdown/,%maxfarea%)
ifnottrue(setequal(/lastdown=1))
selfarea(/:lastdown/)
ClearScr
NiceDate(/:LAST/)
setequal(^53=%ARESP%)
If (/LASTCHK)=(00-00-00) then setequal(^58=N/A)
if (/LASTCHK)=(00-00-00) then goto (bakn)
NiceDate(/:LASTCHK/)
setequal (^58=%ARESP%)
*BAKN
say(&CR&&15&%BBS% &12&Statistics&10&)
say(&CR&User Information:&11&&CR&)
say(Security Level : &12&%sec%&11&)
nicedate(/:last/)
say(Last Call : &12&%aresp%&11&)
say(Number of Times on BBS : &12&/:timeson/&11&)
say(Graphics Mode : &12&%graphics%&11&)
nicedate(/:lastchk/)
say(Last New Files Check : &12&%aresp%&11&)
nicedate(/:first/)
say(First Call : &12&%aresp%&11&)
say(Time Limit : &12&%LIMIT% minutes&11&)
say(&CR&&10&BBS Information:&11&&CR&)
nicedate(%since%)
say(This BBS Has Been Online Since: &12&%aresp%&11&)
;say(This BBS Has Received : &12&%CALLERS% callers&11&)
say(This BBS is Currently Running : &12&Powerboard Version %VER%&11&)
nicetime(%filupt%)
setequal(a=%aresp%)
nicedate(%filup%)
say(Last Upload to File Area : &12&%aresp% %var%a&11&)
nicetime(%msgupt%)
setequal(a=%aresp%)
nicedate(%msgup%)
say(Last Message Entered : &12&%aresp% %var%a&CR&)
enter
If (/:WAIT/)=(N) then LoadMem(control\BULLETS.CTL)
ClearScr
LoadMem(control\mscan.ctl)
*SUBSCRIBER
DateOK(/:SUBDATE/)
IfNotTrue (goto (secshow))
CmpDate(%DATE%,/:SUBDATE/)
IfNotTrue(goto (sok))
Display (display\SEXP,/:SEC/)
InpOpen (sub.bbs)
*STRSUB
fEndIF(secshow)
InpRead
SetEqual(b=%ARESP%)
SetEqual(a=%var%b)
Len(%var%a)
If (%ARESP%)=(0) then Goto (strsub)
Get(%var%a,1,1)
If (%ARESP%)=(;) then Goto (strsub)
Find(%var%b,,)
If (%ARESP%)=(0) then Goto (strsub)
SetEqual(a=%var%b)
SetEqual(c=%ARESP%)
AddVar(&c+-1=c)
Get(%var%a,1,%var%c)
NotIF (%ARESP%)=(/SEC) then Goto (strsub)
AddVar(&c+2=c)
Get(%var%b,%var%c,10)
SetEqual (/SEC=%ARESP%)
SetEqual (/SUB=N)
Log(--,User's subscription expired.)
Goto (secshow)
*SOK
Display(display\SUB,/:SEC/)
Enter
Goto (secshow)
*ALREADYON
Display(display\ALREADY)
Log(<<,User already on other node!)
QuitBBS
*CHKEOF2
inc(h)
Goto (chkeof)
*SYSOP
Jump (DefPrompt)
Kill (cnodes.%NODE%,inodes.%NODE%,tagged.%NODE%,tagged2.%NODE%)
SetActivity (SYSOP Logon)
Setequal(/Graphics=ANSI)
UserLogin(1,SYSTEM OPERATOR Logged On Locally)
Log (->,Call %%CALLERS%, %GRAPHICS%, Last: /:LAST/)
Goto (secshow)
*SYSSEC
If (%SYSP%)=() then Goto (conclr)
Say(&3&Sysop Password?&12&: &15&*)
MenuEqual(a=%SYSP%)
cGetPass(*)
If (%RESP%)=(&a) then goto (conclr)
Log(!!,Incorrect Sysop Pass (%RESP%))
Say(&12&Incorrect Attempt!)
QuitBBS
*INITSETUP
jump (defprompt)
if (%ON%)=(FROM DOOR) then loadmem(control\doorback.ctl)
SetEqual (/sec=%NEWSEC%)
SetEqual (/SCREENLEN=23)
SetActivity (Logging in...)
linefeed(1)
%Clogin% Kill (cnodes.%NODE%,inodes.%NODE%,tagged.%NODE%,tagged2.%NODE%,psys.%node%)
ret
*yesno
say( &9&[ ]&14&*)
Back(4)
YesNoAsk (*)
ret
*GraphDetect
setequal(/graphics=ANSI)
if (%LOCAL%)=(TRUE) then ret
flushout
secpause(1)
say()
flushout
secpause(1)
comsend(n!)
say(|)
say(Checking your system's graphics capability . . . *)
setequal(a=)
secpause(1)
comkey
notif(%ARESP%)=() then goto (tkys)
secpause(1)
comkey
*tkys
if(%ARESP%)=(I) then goto (isrip)
if(%ARESP%)=() then setequal(a=aps)
if(%ARESP%)=() then goto (isnone)
comkey
goto (tkys)
*isansi
say(&12&ANSI &15&Graphics Detected)
setequal(/graphics=ANSI)
ret
*isrip
flushout
say(&12&RIP&14&scrip &15&Graphics Detected)
setequal(/graphics=RIP)
ret
*isnone
flushout
if (%VAR%A)=(aps) then goto (isansi)
say(None Detected)
setequal(/graphics=ASCII)
ret
*doname
NameSplit (%var%a,a,b)
NameComb (%var%a,%var%b,d)
Namequal (/name=%var%d)
nameok
ifnottrue(goto (cont))
SetEqual (d=%NAME%)
ret
*defPrompt
DefPause ($7$&0&[Send more text?]$0$&3& (&11&S&3&)top, (&11&N&3&)onstop or (&11&C&3&)ontinue?&12&: &7&)
DefPif (s:stop,n:nonstop)
ret
*ripsetup
notif (%graphics%)=(RIP) then ret
setequal(/screenlen=41)
ret
ZIPVIEWCTL *EXLP
Say(&CR&&7& Length Method Size Ratio Date Time CRC-32 Attr Name&11&)
InpRead
Say(──────────────────────────────────────────────────────────────────&15&)
setequal(l=0)
setequal(p=2)
resetpause
DO
fEndIf(eloop)
InpRead
SetEqual(h=%ARESP%)
Get (%ARESP%,1,3)
If (%ARESP%)=( --) then goto (elp)
inc(l)
Say(%var%h)
inc(p)
if (&p)=(/screenlen) then jump (pause)
LOOP
*ELP
InpRead
Say(&11&──────────────────────────────────────────────────────────────────)
get (%aresp%,1,50)
Say(&12&%ARESP%)
InpClose
say (&CR&&14& %var%l File(s) in archive)
*ELOOP
MenuAsk %MIN1%%LEN1% (&CR&&3&Would you like to &11&(&7&R&11&)ead Textfile, (&7&D&11&)ownload File, (&7&L)&11&ist, (&7&Q&11&)uit?&14& *)
BigIf (d:download,r:read,q:quit,l:list)
Goto (eloop)
*LIST
InpClose
InpOpen(zipinfo.txt)
linefeed(1)
DO
InpRead
Get (%ARESP%,1,7)
NotIf (%ARESP%)=() then if (%ARESP%)=( Length) then goto (exlp)
EofLoop
*QUIT
InpClose
SelFArea (/:lastdown/)
Return
*READ
Say(&CR&&3&Please enter the name of the file to read&12&: &14&( )&15&*)
Back(13)
MenuAsk%CRON%%LEN12%(*)
if (%RESP%)=(<CR>) then goto (eloop)
Say(&CR&&11&Retriving &7&%RESP%&11&, Please Wait!&7&)
Exec(md zvtemp>nul,) ;create temporary dir
Zap(yes,Yes)
Exec(del zvtemp <yes >nul,)
Exec(pkunzip %FILPATH%%var%e %RESP% zvtemp\ >nul,)
View (zvtemp\%RESP%)
Exec(del zvtemp <yes >nul,)
Enter
Goto (eloop)
*DOWNLOAD
Say(&3&&CR&Please enter the name of the file to download&12&: &14&( )&15&*)
Back(13)
MenuAsk%CRON%%LEN12%(*)
if (%RESP%)=(<CR>) then goto (eloop)
Say(&CR&&11&Retriving &7&%RESP%&11&, Please Wait!&7&)
Exec(md zvtemp >nul,) ;create temporary dir
Zap(yes,Yes)
Exec(del zvtemp <yes,)
Exec(pkunzip %FILPATH%%var%e %RESP% zvtemp\ >nul,)
SetEqual(d=%RESP%)
Seek(zvtemp\%RESP%)
IfNotTrue (goto (eloop))
*PICKP
Display (Display\DN-PROTS)
MenuAsk %MIN1% (&3&Which transfer protocol would you like to use?&11&(or Q to Quit)&12&: &15&*)
Find(%RESP%,\) ;make sure they didnt stick a backslash in there
NotIf (%ARESP%)=(0) Then Goto (eloop)
BigIf(q:eloop)
SetEqual(b=%RESP%)
Seek(protocol\%var%b-VD.BT) ;check to see If protocol exists..
IfNotTrue(Goto (pickp))
Len(%var%b)
NotIf (%ARESP%)=(1) then goto (nobat)
Say(&CR&&3& Would you like to download this file? &9&[ ]&14&*)
Back(4)
YesNoAsk(*)
If (%RESP%)=(No) Then Goto (eloop)
Say(&CR&&11&We're sending the file you requested. Please get ready to receive it now.)
If (%LOCAL%)=(TRUE) Then Goto (eloop)
FixFile(protocol\%var%b-vd.bt,protocol\%var%b-vd.bat)
InitClock
Exec(protocol\%var%b-vd.BAT│)
Kill(protocol\%var%b-vd.bat)
If (%LOCAL%)=(FALSE) Then toglocal
NotIf (%ARESP%)=(0) Then Goto (nsc)
XferTime
SetEqual(e=%ARESP%)
Size(zvtemp\%var%d)
MultVar(%XMIN%*60=o)
DivVar(%ARESP%/%var%o=g) ;calculate CPS rate
CnvtK(%ARESP%)
AddVar(%ARESP%+/:KDOWN/=o)
SetEqual(/KDOWN=%var%o)
Say(%BEEP%*)
Log(--,%var%d Downloaded from Zip:%var%e.)
Log(--,Rate: %var%g CPS)
AppendTo(logs\DOWNLOAD.%NODE%,%var%d downloaded by %NAME% at %TIME% on %DATE%.)
SetEqual(a=/:DOWNLOADS/)
inc(a)
SetEqual(/DOWNLOADS=%var%a)
If (%LOCAL%)=(TRUE) Then toglocal
Display (Display\SUCCESS)
Exec(del zvtemp <yes)
Enter
Goto (eloop)
*NOBAT
Say(&CR&&15&No batch protocols allowed for transfering this file.&CR&)
Goto (pickp)
*nsc
toglocal
goto (eloop)
*pause
setequal(p=1)
pauseprompt
if (%ARESP%)=(STOP) then goto (elp)
ret
VIEWBCTL▒say(&CR&&3&Would you like to view the &11&bulletins menu&3&? &9&[ ]&14&*)
back(4)
yesnoask(*)
if (%RESP%)=(No) then loadmem(control\main.mnu)
loadmem(control\bullet.mnu)
LOCKOUTCTLûLog (--,Locked out user (%var%d) attempted) ;log info to callers log
Log (--,to log onto the BBS.)
Display(display\LOCKOUT)
secpause(3)
QuitBBS
BADNAMECTLMDisplay(display\BADNAME)
Log (--,Alias (%var%d) attempted logon.)
QuitBBS
BATCHCTL?Kill(Free.%NODE%,batch.%node%)
*startbatch
SetEqual(m=0)
SetEqual(w=0)
setequal(d=)
*fname
Say(&10&Pressing (&11&ENTER&10&) will allow you to start the download.)
Say(&3&Please enter name of the file to download&12&: &14&(&F&12)&15&*)
Back(13)
MenuAsk%NOCR%%CRON%%LEN12%(*)
if (%RESP%)=(<CR>) then Say ()
If (%RESP%)=(<CR>) Then Goto (entpressed)
len(%Resp%)
Back(%ARESP%)
AddDef(.%DEFEXT%)
say (%Resp%)
if (%Resp%)=(&d) then goto (ah)
Say(&CR&&11&Please wait!... We're searching for the file...*)
SeekFall(%RESP%)
If (%ARESP%)=(INVALID) Then Goto (invfn)
If (%ARESP%)=(No) Then Goto (nothere)
If (%ARESP%)=(NOT ENOUGH) Then Goto (notenuf)
If (%RATIO%)=(NOT OK) Then Goto (badratio)
selFarea(%ARESP%)
Size(%FILPATH%%RESP%)
setequal(j=%aresp%)
Say(Found!&CR&&CR&&14& ─────── &12&Statistics for %RESP% &14& ───────&15&)
Say(Free Download: &11&%FREE% &15&*)
If (%FREE%)=(No) Then Say( *)
Say(&F&8&Size: &11&%ARESP% &15&)
fDate(%FILPATH%%RESP%)
Say(Dated: &11&%ARESP% &15&&F&9&Transfer Time: *)
tTime(%var%J)
Say(&11&%ARESP%&CR&)
setequal(g=%ttim%)
if (%FREE%)=(Yes) then setequal(g=0)
AddVar(&m+&g=m)
SetEqual(d=%RESP%)
AppendTo(free.%NODE%,%FREE%)
IfTrue( AddVar(&m+-%TTIM%=m))
AppendTo(batch.%NODE%,%FILPATH%%var%d)
inc(w)
Goto (fname)
*initxfer
CmpVal(%var%m,/:LEFT/)
IfNotTrue( Goto (notenuftime))
Say(&3& Would you like to download these files? &9&[ ]&14&*)
Back(4)
YesNoAsk(*)
If (%RESP%)=(No) Then Goto (ex)
Say(&3&Would you like us to log you off afterwards? &9&[ ]&14&*)
Back(4)
YesNoAsk(*)
SetEqual(m=%RESP%)
Say(&CR&&11&We're sending the files you requested. Please get ready to receive them now.)
FixFile(protocol\%var%b-d.bt,protocol\%var%b-d.bat)
InitClock
Exec(protocol\%var%b-d.BAT│)
Kill(protocol\%var%b-d.bat)
*success
TogLocal
NotIf (%ARESP%)=(0) Then Goto (aborted)
XferTime
SetEqual(e=%ARESP%)
InpOpen(batch.%NODE%)
If (%ARESP%)=(ERROR) Then Goto (dsucc)
SetEqual(t=0)
say()
SetEqual(a=/:DOWNLOADS/)
Kill(tagged.%NODE%)
SetEqual(c=0)
*stcalc
inc(c)
InpRead
SetEqual(d=%ARESP%)
Size(%var%d)
AddVar(&t+%ARESP%=t)
log(--,%var%d Downloaded (batch).)
AppendTo(logs\DOWNLOAD.%NODE%,%var%d downloaded by %NAME% at %TIME% on %DATE%.)
InpLine(free.%NODE%,%var%c)
NotIf(%ARESP%)=(Yes) Then inc(a)
Iftrue (Goto (fre))
fEndIf(donecalc)
Goto (stcalc)
*fre
Size(%var%d)
tTime(%ARESP%)
AddVar(/:LEFT/+%TTIM%=a)
SetEqual(/left=%var%a)
fEndIf(donecalc)
Goto (stcalc)
*donecalc
InpClose
Say(%BEEP%)
MultVar(%XMIN%*60=o)
DivVar(&t/%var%o=g)
CnvtK(%var%t)
AddVar(%ARESP%+/:KDOWN/=o)
SetEqual(/KDOWN=%var%o)
SetEqual(/DOWNLOADS=%var%a)
Log(--,Rate: %var%g CPS)
*dsucc
TogLocal
Display (Display\SUCCESSB)
if (%VAR%B)=(HS) then loadmem(control\hslink.ctl)
If (&m)=(Yes) Then Goto (autooff)
*ex
Kill(free.%NODE%)
SelFarea(/:LASTDOWN/)
say()
return
*aborted
TogLocal
Log(--,Batch Download aborted.)
*lcl
Display (Display\ABORTED)
Goto (ex)
*badratio
Display(Display\BADRATIO)
SelFarea(/:LASTDOWN/)
say()
return
*autooff
loadmem(control\autoOff.ctl)
*free
Log(--,Freefile downloaded, time refunded.)
AddVar(%XMIN%+%LEFT%=t)
SetEqual(/LEFT=t)
If (&m)=(Yes) Then Goto (autooff)
Goto (ex)
*Notenuf
Display (Display\fbadsec)
Goto (fname)
*nothere
Display(Display\notfnd)
Goto (fname)
*invfn
Display(Display\INVALID)
FlushOut
SelFarea(/:LASTDOWN/)
Enter
Goto (fname)
*entpressed
say()
If (&w)=(0) Then return
Goto (initxfer)
*notenuftime
Display(Display\NODLTIME)
Return
*ah
Say(&CR&&12&That file is already in the download batch!&CR&)
goto (fname)
REFUSEDCTLºDisplay(display\REFUSED) ;they don't want to become a member!!!!! ask why...
Say (%hCyan%( )%White%*)
Back (61) ;go back 61 spaces...
Ask%MIN1%%LEN60% (*)
Say (&CR&%Yellow%Thank you very much for your cooperation.&CR&)
Log (--,User (%var%d) declined membership because:)
Log (--,%RESP%) ;log to the callers log
QuitBBS ;Hang up
GENTYP░*Disp
SetActivity (Unnamed Menu)
if(/EXPERT)=(Y) then linefeed(1)
if(/EXPERT)=(Y) then Goto (Prompt)
*sdisp
Display (display\main,/:SEC/)
*Prompt
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (G:BYE,H:HELP,?:SDISP,X:EXP)
Goto (bsel)
*bSel
LoadSub(control\macros\badsel.ctl) ;invalid selection
Goto (disp)
*BYE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*HELP
EnufSec(10)
IfNotTrue(Goto(BSel))
Display(display\help\main,/:SEC/)
Log (--,Viewed Main Menu Help)
Goto (Disp)
*EXP
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
BULLETMNU%*Disp
SetActivity (Bulletins Menu)
if (/EXPERT)=(Y) then linefeed(1)
If (/EXPERT)=(Y) Then Goto(prompt)
*Sdisp
Display (Display\blt,/:SEC/)
*Prompt
Jump (pauseprompt)
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (Q:LOADMAIN,G:GOODBYE,X:EXPERT,H:HELP,?:SDISP,N:NEW)
Number(%RESP%) ;is it a number?!
IfNotTrue ( Goto (bsel))
Log(--,Bulletin %RESP% Read.)
Display (Display\Bull%RESP%)
enter
goto (disp)
*bsel
LoadSub(control\macros\badsel.ctl)
Goto (disp)
*pauseprompt
DefPause($7$&0&[Send more text?]$0$&3& (&11&S&3&)top, (&11&N&3&)onstop or (&11&C&3&)ontinue?&12&: &7&)
DefPif(s:stop,n:nonstop,g:goodbye) ;define our pause prompt...
ret
*LOADMAIN
LoadMem(CONTROL\MAIN.MNU)
*GOODBYE
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*EXPERT
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
*HELP
Display(Display\help\BULL,/:SEC/)
Log (--,Viewed Bulletins Menu Help)
Goto (Disp)
*NEW
LoadSub(CONTROL\MACROS\NEWBULL.CTL)
Goto(Disp)
BADPASSCTL)Log (--,User (%var%d) entered an invalid)
Log (--,password 4 times.)
if (%BPComment%)=(No) then QuitBBS ;BPComment is set via PBConfig
SetEqual (q=10)
Display (display\badpass)
SetEqual (b=Password Failure)
LoadSub(control\macros\comment.ctl,goto (stc))
Display(display\BADPASS2)
QuitBBS
QUESTYP0*disp
setactivity(Quest. Menu)
if (/Expert)=(Y) then linefeed(1)
if (/EXPERT)=(Y) then goto (prompt)
*sdisp
display (display\ques,/:SEC/)
*prompt
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (g:goodbye,q:main,h:help,?:sdisp,x:exp)
number(%RESP%)
if (%ARESP%)=(No) then goto (bsel)
say(&7&)
seek(ques\QUEST%RESP%.que)
if (%ARESP%)=(No) then goto (bsel)
loadsub(ques\QUEST%RESP%.que)
goto (disp)
*main
loadmem(control\MAIN.MNU)
*exp
loadsub(control\macros\expert.ctl)
goto (disp)
*help
log(--,Viewing Quest. Menu Help)
display (display\help\ques,/:SEC/)
goto (disp)
*goodbye
enufsec(10)
IfNotTrue (goto (bsel))
loadsub(control\macros\bye.ctl)
goto (disp)
*bsel
loadsub(control\macros\badsel.ctl)
goto (disp)
DPHONECTLôlog(!!,User attempted logon with active)
log(!!,user's phone number (/:phone/))
appendto(badnames.bbs,%NAME%)
display(display\dphone)
quitbbs
DOORSDEFTest Door
DOORSTYP¢*disp
SetActivity (Doors Menu)
if (/Expert)=(Y) then linefeed(1)
if (/EXPERT)=(Y) then goto (prompt)
*sdisp
Display (display\doors,/:SEC/)
*prompt
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (G:GOODBYE,Q:MAIN,H:HELP,?:SDISP,X:EXP)
number(%RESP%)
ifNotTrue( goto (bsel))
seek(door%RESP%.Bat)
ifnottrue(goto (bsel))
Display(Display\door%RESP%)
Log(--,Executing Door #%RESP%)
FixFile (door.bt,door.bat)
Say(&14&&CR&Please wait, Opening Door #%resp% . . .*)
Exit (80,door|)
*bsel
loadsub(control\macros\badsel.ctl)
goto (disp)
*GOODBYE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*MAIN
LoadMem(CONTROL\MAIN.MNU)
*HELP
EnufSec(10)
IfNotTrue(Goto(BSel))
Display(display\help\door,/:SEC/)
Log (--,Viewed Doors Menu Help)
Goto (Disp)
*EXP
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
UEDIT4CTL£*StUedit4
BigIf (O:ChgTOn,R:ChgComp,A:ChgDrops,W:ChgWrk,I:ChgSub,X:ChgSDate,V:ChgAvail)
*ChgTOn
AnsiGoto (21,17)
;Goes to the location 21,17 on the screen. (21 characters over, 17 down)
ask (&15&Enter New Times On: &2&*)
Number (%RESP%)
IfNotTrue (goto (BadTOn))
SetEqual (>TIMESON=%RESP%)
Goto (DoIt)
*BadTOn
AnsiGoto (21,17)
Say (&4&Bad Times On Value, Not a Number.*)
SecPause (2)
AnsiGoto (21,17)
Say ( )
Goto (ChgTOn)
*ChgComp
AnsiGoto (21,17)
ask (&15&Enter New Computer Using: &2&*)
SetEqual (>COMP=%RESP%)
Goto (DoIt)
*ChgDrops
AnsiGoto (21,17)
Say (&15&Enter New Carrier Dropped Times: &2&*)
AnsiGoto (54,17)
Ask (*)
Number (%RESP%)
IfNotTrue (goto (BadDrops))
SetEqual (>DROPPED=%RESP%)
Goto (DoIt)
*BadDrops
AnsiGoto (21,17)
Say (&4&Bad Carrier Dropped Amount, Not a Number.*)
SecPause (2)
AnsiGoto (21,17)
Say ( )
Goto (ChgDrops)
*ChgWrk
AnsiGoto (21,16)
Say (&12&Enter New Work Phone Number: &2&)
AnsiGoto (27,17)
Picture (###-###-####)
SetEqual (>WORK=%RESP%)
Goto (DoIt)
*ChgSub
AnsiGoto (25,17)
yesnoask (&12&Subscriber? &2&*)
SetEqual (>SUB=%RESP%)
Goto (DoIt)
*ChgSDate
AnsiGoto (21,16)
Say (&12&Enter New Subscription Expiration Date: &2&*)
AnsiGoto (25,17)
Picture (##-##-##)
SetEqual (>SUBDATE=%RESP%)
Goto (DoIt)
*ChgAvail
AnsiGoto (21,17)
YesNoAsk (&12&Default User Available For Chat: &2&*)
SetEqual (>DEFAVAIL=%RESP%)
Goto (DoIt)
*DoIt
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Loadmem (control\uedit2.ctl,goto(clearinfo))
DOORBACKCTLinpline(pbdoor.%Node%,6)
DoorBack(%ARESP%,Back from Door program) ;get their name from PBDOOR.node
selarea(/:lastmsg/)
ListFile (areas\farea/:LASTMSG/)
selfarea(/:lastdown/)
Kill (pbdoor.%NODE%)
Display (display\back)
LoadMem (control\doors.MNU)
HSLINKCTLflushout
exec(zc\adir hstemp%NODE%\*.* >hslst.%NODE%)
inpclose
inpopen(hslst.%NODE%)
setequal(t=0)
linefeed(1)
setequal(a=/:UPLOADS/)
clearmem
setequal(c=0)
*stcalc
inpread
setequal(d=%ARESP%)
iseek(%var%d)
iftrue(goto (nfile))
if (&D)=() then goto (Nfile)
fcopy(hstemp%NODE%\%var%d,files\uploads\%var%d)
size(files\uploads\%var%d)
addvar(%var%t+%ARESP%=t)
cnvtk(%ARESP%)
addvar(%ARESP%+/:KUP/=o)
setequal(/KUP=%var%o)
multvar(%var%c*3=y)
say(&7&&CR&%var%d&CR&)
say(&14&Please enter a description for your file. &10&The description can take up 3 lines.&CR&&CR&&15& (----2----3----4----5----6----7---8----))
resetwrap
clearmem
wrapask %MIN1%%LEN40%(&3&1&12&: &15&*)
setequal(^1=%RESP%)
wrapask %LEN40%%CRON%(&3&2&12&: &15&*)
if (%RESP%)=(<CR>) then goto (nomore)
setequal(^2=%RESP%)
ask %LEN39%(&3&3&12&: &15&*)
setequal(^3=%RESP%)
*nomore
file(files\uploads\,%var%d,3)
log(--,%var%d Uploaded (HSLINK).)
appendto(logs\UPLOAD.%NODE%,%var%d uploaded at %TIME% on %DATE% by %NAME%.)
inc(c)
*nfile
kill(hstemp%NODE%\%var%d)
fendif(donecalc)
goto (stcalc)
*donecalc
inpclose
inc(c)
say(%BEEP%)
multvar(%XMIN%*60=o)
divvar(%var%t/%var%o=g)
setequal(/UPLOADS=%var%a)
return
SYSOPMNU;*disp
SetActivity (Sysop Menu)
if (/EXPERT)=(Y) then goto (prompt)
*sdisp
Display (display\SYSOP,/:SEC/)
*prompt
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (G:GOODBYE,H:HELP,?:SDISP,X:EXP,V:VIEWLOG,S:SHELL,K:KILL,D:DOWN,O:VNO,Q:QT,F:FIL,M:MS,E:ED)
goto (badsel)
*badsel
loadsub(control\macros\badsel.ctl)
goto (disp)
*GOODBYE
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*HELP
Display(display\help\SYSOP,/:SEC/)
Log (--,Viewed Sysop Menu Help)
Goto (Disp)
*EXP
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
*VIEWLOG
LoadSub(CONTROL\MACROS\VIEWLOGS.CTL)
Goto(Disp)
*SHELL
EnufSec(100)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\SHELL.CTL)
Goto(Disp)
*KILL
LoadSub(CONTROL\MACROS\KILLNODE.CTL)
Goto(Disp)
*DOWN
LoadSub(CONTROL\MACROS\NODEDOWN.CTL)
Goto(Disp)
*VNO
LoadSub(CONTROL\MACROS\VIEWNODE.CTL)
Goto(Disp)
*QT
LoadMem(CONTROL\MAIN.MNU)
*FIL
LoadMem(CONTROL\FILES.MNU)
*MS
LoadMem(CONTROL\MESS.MNU)
*ED
LoadSub(CONTROL\UEDIT.CTL)
Goto(Disp)
MSCANCTL_Say(&CR&%hWhite%Please wait while we scan the message area for new mail addressed to you...%Yellow%&CR&)
Clearmem
EraseVar
Say(Scanning...%White%)
Zap(lconf.%NODE%,/:lastmsg/)
ClearMem
SetEqual(h=0)
*stscan
inc(h)
SelArea(%var%h)
EnufSec(%AREASEC%)
ifnottrue(Goto (chkeof))
eLine(60)
Say(Checking area %var%h: %AREANAME%|)
Scan(%var%h,%NAME%,%NDNUMB%)
IfTrue (goto (yesmail))
*chkeof
If (&h)=(%MAXAREA%) Then goto (firstmn)
Goto (stscan)
*FIRSTMN
InpLine(lconf.%NODE%,1)
SetEqual (/lastmsg=%ARESP%)
SelArea(/:LASTMSG/)
Say(%Yellow%&CR&&CR&Message scan complete!)
SetEqual (/WAIT=N)
Kill(lconf.%NODE%)
LoadMem(control\bullets.ctl)
*yesmail
SetEqual (/lastmsg=%var%h)
Say(&CR&&15&Mail has been found for you in the&9& %AREANAME% %hWhite%conference!%hWhite%)
SetEqual(u=2)
notif (^2)=() then goto (ym1)
say(&10&Message number &11&^:1^)
goto (bymail)
*ym1
say(&10&Message numbers:&11&&CR&^:1^*)
*ymail
if (^%var%u)=() then Goto (bym2)
Say(, ^:u^*)
inc(u)
Goto (ymail)
*bym2
linefeed(1)
*bymail
Zap(hi.%NODE%,%var%h)
Say(&CR&%Cyan%Would you like to read these messages? &9&[ ]%hWhite%*)
back(4)
YesNoAsk(*)
If (%RESP%)=(Yes) Then Goto (Rmail)
*back
InpLine(hi.%NODE%,1)
SetEqual(h=%ARESP%)
ClearScr
InitTxt
ClearMem
Say(%Yellow%&CR&Scanning...%White%)
ClearMem
SetActivity(Logging on...)
Goto (chkeof)
*Rmail
Say(&CR&%hCyan%Please wait while we retrieve your mail...*)
SetEqual(r=10)
SetEqual(y=^:1^)
himsg(/:LASTMSG/)
SetEqual(f=%ARESP%)
lowmsg(/:lastmsg/)
SetEqual(n=%ARESP%)
SetEqual(u=1)
Loadsub(control\READ.CTL,Goto (repeat))
goto (back)
AUTOOFFCTL╧
Seek(tagged.%NODE%)
IfTrue(say(&10&%beep%%beep%You have files tagged for download!))
say(&CR&&11&You have requested an auto-logoff. This call will be terminated in 30 seconds.)
say(&14&Hit (CTRL-K) to abort or (H) to hang up now.*)
SetEqual(n=0)
*begin
do
jump(rkeytst)
secpause(1)
localkey(1)
ifnottrue(goto (psa))
If (%ARESP%)=(H) Then Goto (off)
if (%ARESP%)=(h) then goto (off)
If (%ARESP%)=() Then Goto (ex)
*psa
jump(rkeytst)
inc(n)
say(.*)
If (&n)=(30) Then Goto (off)
loop
*off
log(<<,Downloaded file, Auto-logoff)
Display(Display\goodbye)
quitbbs
*ex
selfarea(/:lastdown/)
say()
return
*rkeytst
ifkey(H)
iftrue(goto (off))
ifkey()
iftrue(goto (ex))
ret
SELFILEACTL$*lista
NotIf (/SEC)=(100) then display(%FAREA%)
If (/SEC)=(100) then goto (sysv)
*start
menuask%cron%(&CR&&3&Please enter the area number to search &11&(ENTER=All,?=Redisplay)&12&: &15&*)
if (%resp%)=(<CR>) then return
if (%resp%)=(?) then goto (lista)
number(%resp%)
ifnottrue (return)
cmpvalo(%maxfarea%,%resp%)
iftrue(return)
selfarea(%resp%)
cmpval(%sec%,%filsec%)
iftrue(return)
setequal(g=%resp%)
setequal(f=%resp%)
return
*sysv
seek(%FAREA%.100)
iftrue(view(%FAREA%.100))
ifnottrue(display(%FAREA%))
goto (start)
BULLETSCTLiIf (%NEWSEC%)=(/SEC) Then Welcome(display\NEWUSER)
Get(/:BIRTH/,1,6)
SetEqual(a=%ARESP%)
Get(%DATE%,1,6)
If (&a) = (%ARESP%) Then LoadSub(control\birth.ctl)
*BLT2
Display (Display\%NDNUMB%)
Welcome(Display\WELCOME)
NotIf (/LAST)=(%DATE%) Then Welcome (Display\OneAday)
seek(areas\news/:lastmsg/.asc)
iftrue(loadsub(control\macros\cnfnews.ctl))
If (/EXPERT)=(Y) Then Display (Display\EXPERT)
Seek(logon.bat)
IfTrue (Exec(logon.bat))
if (%Event%)=(TRUE) then display(display\event)
LoadSub(Control\Macros\Newbull.ctl)
IfNotTrue( LoadMem(control\Main.mnu))
LoadMem(Control\ViewB.ctl)
NOCTLulog(<<,Excessive logon attempts!)
say(&12&&CR&Excessive unsuccessful logon attempts!)
secpause(1)
say()
quitbbs
UEDIT2CTL╚*StUEdit2
*Selection
Numbusers
SetEqual (j=%ARESP%)
If (&f)=(1) then goto (Edit)
If (&f)=(5) then loadmem(control\uedit3.ctl,goto(stUedit3))
If (&f)=(6) then goto (quit)
LoadMem(control\uedit.ctl,goto(badsel))
*ClearInfo
AnsiGoto (11,1)
Say ( *)
AnsiGoto (11,2)
Say ( *)
AnsiGoto (11,3)
Say ( )
AnsiGoto (11,4)
Say ( *)
AnsiGoto (11,5)
Say ( *)
AnsiGoto (11,6)
Say ( *)
AnsiGoto (11,7)
Say ( *)
AnsiGoto (11,8)
Say ( *)
AnsiGoto (11,9)
Say ( *)
AnsiGoto (11,10)
Say ( *)
AnsiGoto (11,11)
Say ( *)
AnsiGoto (11,12)
Say ( *)
AnsiGoto (51,1)
Say ( *)
AnsiGoto (51,2)
Say ( *)
AnsiGoto (51,3)
Say ( *)
AnsiGoto (51,4)
Say ( *)
AnsiGoto (51,5)
Say ( *)
AnsiGoto (51,6)
Say ( *)
AnsiGoto (51,7)
Say ( *)
AnsiGoto (51,9)
Say ( *)
LoadUser (%var%z)
SetEqual (x=0)
LoadMem (Control\uedit.ctl,goto(putinfo))
*Edit
If (&w)=(1) then goto (GetInput)
AnsiGoto (2,15)
Say ( *)
AnsiGoto (30,15)
Say ( *)
AnsiGoto (2,16)
Say ( *)
AnsiGoto (30,16)
Say ( *)
AnsiGoto (2,17)
Say ( *)
AnsiGoto (30,17)
Say ( *)
AnsiGoto (2,18)
Say ( *)
AnsiGoto (30,18)
Say ( *)
AnsiGoto (30,19)
Say ( *)
AnsiGoto (30,20)
Say ( *)
AnsiGoto (1,1)
Say (&15&N&7&ame)
Say (&15&S&7&treet)
Say (&15&F&7&rom)
Say (&7&P&15&h&7&one)
Say (&7&Se&15&c)
Say (&15&P&7&asswd)
Say (&15&T&7&imeLeft)
Say (&15&M&7&emo)
Say (&15&D&7&ownlds)
Say (&15&U&7&ploads)
Say (&15&K&7&Dled)
Say (&7&KU&15&l&7&ed*)
AnsiGoto (40,1)
Say (&15&B&7&irthdate*)
AnsiGoto (41,2)
Say (&7&Times &15&O&7&n*)
AnsiGoto (35,3)
Say (&7&Compute&15&r&7& Using*)
AnsiGoto (36,4)
Say (&7&C&15&a&7&rrier Drops*)
AnsiGoto (39,5)
Say (&15&W&7&ork Phone*)
AnsiGoto (39,6)
Say (&7&Subscr&15&i&7&ber*)
AnsiGoto (37,7)
Say (&7&Sub Date E&15&x&7&p*)
AnsiGoto (35,9)
Say (&7&A&15&v&7&ail For Chat*)
*GetInput
AnsiGoto (20,17)
Say ($0$&12&Select Category to Modify (Q to Quit): &15&*)
Menukey
BigNiceSay (N:Name,S:Street,F:From,H:Phone,C:Sec,P:Passwd,T:TimeLeft)
BigNiceSay (M:Memo,D:Downlds,U:Uploads,K:KDled,L:KUled,B:Birthdate,O:Times On)
BigNiceSay (R:Comp Using,A:Carrier Drops,W:Work Phone,I:Subscriber,X:SubDate Exp,Q:Quit)
AnsiGoto (20,17)
Say ( *)
BigIf (N:ChgName,S:ChgSt,F:ChgFrom,H:ChgPhone,C:ChgSec,P:ChgPass,T:ChgTL,M:ChgMemo,D:ChgDls,U:ChgUls,K:ChgDlk,L:ChgUlk,B:ChgBday)
BigIf (Q:NoMore)
BigLoad (O:control\uedit4.ctl,R:control\uedit4.ctl,A:control\uedit4.ctl,W:control\uedit4.ctl,I:control\uedit4.ctl,X:control\uedit4.ctl,Q:control\uedit4.ctl,v:control\uedit4.ctl)
LoadMem (Control\uedit.ctl,goto(badsel))
*NoMore
SaveUser (%var%z)
SetEqual (e=0)
SetEqual (w=0)
Loadmem (control\uedit.ctl,goto(moreedit))
*ChgName
AnsiGoto (24,17)
Say (&15&Enter New Name : &2&*)
AnsiGoto (41,17)
Ask (*)
SetEqual (>NAME=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*ChgSt
AnsiGoto (20,17)
Say (&15&Enter New Street: &2&*)
AnsiGoto (38,17)
Ask (*)
SetEqual (>STREET=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*ChgFrom
AnsiGoto (19,17)
Say (&15&Enter New User From : &2&*)
AnsiGoto (41,17)
Ask (*)
SetEqual (>FROM=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*ChgPhone
AnsiGoto (25,16)
Say (&15&Enter New Phone Number : &2&)
AnsiGoto (29,17);
Picture(###-###-####)
setequal(>PHONE=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*ChgSec
AnsiGoto (24,17)
Ask (&15&Enter New Security: &2&*)
Number (%RESP%)
IfNotTrue(goto (badsec))
SetEqual (>SEC=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*badsec
AnsiGoto (20,17)
Say ( *)
AnsiGoto (25,17)
Say (&4&Bad Security-- Not a Number.*)
SecPause (2)
AnsiGoto (20,17)
Say ( *)
Goto (ChgSec)
*ChgComp
AnsiGoto (20,17)
Ask (&15&Enter New Computer Using: &2&*)
SetEqual (>COMP=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*ChgTL
AnsiGoto (24,17)
Ask (&15&Enter New Time Left: &2&*)
Number (%RESP%)
IfNotTrue (goto (badtl))
SetEqual (>LEFT=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*badtl
AnsiGoto (20,17)
Say ( *)
AnsiGoto (20,17)
Say (&4&Bad Time Left Value-- Not a Number.*)
SecPause (2)
AnsiGoto (20,17)
Say ( *)
Goto (ChgTL)
*ChgPass
AnsiGoto (24,17)
Ask (&15&Enter New Password: &2&*)
SetEqual (>PASS=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*ChgMemo
AnsiGoto (20,17)
Ask (&15&Enter New Memo: &2&*)
SetEqual (>MEMO=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*ChgDls
AnsiGoto (20,17)
Ask (&15&Enter New Number of Downloads: &2&*)
Number (%RESP%)
IfNotTrue (goto (baddls))
SetEqual (>DOWNLOADS=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*baddls
AnsiGoto (20,17)
Say ( *)
AnsiGoto (20,17)
Say (&4&Bad Number of Downloads-- Not a Number.*)
SecPause (2)
AnsiGoto (20,17)
Say ( *)
Goto (ChgDls)
*ChgUls
AnsiGoto (20,17)
Ask (&15&Enter New Number of Uploads: &2&*)
Number (%RESP%)
IfNotTrue (goto (baduls))
SetEqual (>UPLOADS=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*baduls
AnsiGoto (20,17)
Say ( *)
AnsiGoto (20,17)
Say (&4&Bad Number of Uploads-- Not a Number.*)
SecPause (2)
AnsiGoto (20,17)
Say ( *)
Goto (ChgUls)
*ChgDlK
AnsiGoto (21,17)
Ask (&15&Enter New Download K: &2&*)
Number (%RESP%)
IfNotTrue (goto (baddlk))
SetEqual (>KDOWN=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*baddlk
AnsiGoto (20,17)
Say ( *)
AnsiGoto (20,17)
Say (&4&Bad Download K Value-- Not a Number.*)
SecPause (2)
AnsiGoto (20,17)
Say ( *)
Goto (ChgDlk)
*ChgUlK
AnsiGoto (21,17)
Ask (&15&Enter New Upload K: &2&*)
Number (%RESP%)
IfNotTrue (goto (badulk))
SetEqual (>KUP=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*ChgBday
AnsiGoto (21,16)
Say (&15&Enter New Birthday: &2&*)
AnsiGoto (25,17)
Picture (##-##-##)
SetEqual (>BIRTH=%RESP%)
SetEqual (e=1)
SetEqual (w=1)
SaveUser (%var%z)
Goto (ClearInfo)
*badulk
AnsiGoto (20,17)
Say ( *)
AnsiGoto (20,17)
Say (&4&Bad Upload K Value-- Not a Number.*)
SecPause (2)
AnsiGoto (20,17)
Say ( *)
Goto (ChgUlk)
BIRTHCTL(Display (display\b-day)
Enter
Return
NEWUSERCTLNclearscr
say(&CR&&10&You will have 2 lines for your full address. The first line for your street&CR&and the second line for your City and State.)
setactivity(New-user Logon...)
log(==,New User (%var%D) Registering...)
setequal(>NAME=%var%D)
setequal(>LAST=%DATE%)
setequal(>LASTCHK=%DATE%)
setequal(t=0)
*street
ask %MIN1%(&CR&&3&Please enter your &11&street&3& address&12&: &15&*)
setequal(>STREET=%RESP%)
*city
ask %MIN1%%LEN40%(&CR&&3&Please enter the &11&City, State&3& that you're calling from&12&: &15&*)
setequal(/FROM=%RESP%)
setequal(>FROM=%RESP%)
if (/from)=(>street) then goto (fake)
display(display\password)
update
*PASS
say (&3&Enter the password you would like&12&: &15&*)
cgetpass%MIN2%(.)
menuequal(a=%name%)
if (%resp%)=(&a) then goto (bp)
menuequal(a=%fname%)
if (&a)=(%resp%) then goto (bp)
menuequal(a=%lname%)
if (&a)=(%resp%) then goto (bp)
setequal(>PASS=%RESP%)
setequal(k=%RESP%)
say(&CR&&3&Please enter the password again for verification&12&: &15&*)
cgetpass%MIN2%(.)
notif (%RESP%) = (&k) then goto (badpass)
say(&CR&&3&Please enter your &11&home &3&phone number in the format shown.&15&)
picture(###-###-####)
repeating(%resp%)
iftrue(goto (fake))
setequal(>PHONE=%RESP%)
setequal(/PHONE=%Resp%)
ask (&CR&&3&If you have a &11&work &3&phone number, please enter it now&12&: &15&*)
setequal(>WORK=%RESP%)
say(&CR&&3&Please enter your &11&birthdate &3&in the format (MM/DD/YY) shown.&15&)
update
picture(##-##-##)
repeating(%resp%)
iftrue(goto (fake))
dateok(%resp%)
ifnottrue(goto (fake))
setequal(>BIRTH=%RESP%)
display (display\defprots)
setequal(/birth=%resp%)
menuask(&3&Which protocol would you like &11&(or N for None)?%hRed%: &15&*)
setequal(/protocol=%RESP%)
display(display\comps)
ask %MIN1%(&3&What type of computer do you have?&12&: &15&*)
setequal(>COMP=%RESP%)
setequal(>WAIT=N)
display(display\length)
setequal(t=24)
if (%graphics%)=(RIP) then setequal(t=41)
menuask %MIN1%(&CR&&3&Please enter the length of your screen &11&(%var%t Recommended)&12&: &15&*)
setequal(>FIRST=%DATE%)
setequal(>SCREENLEN=%RESP%)
setequal(>LEFT=%NEWTIME%)
setequal(>SEC=%NEWSEC%)
seekfile(phones.dat,/:phone/)
iftrue(loadmem (control\dphone.ctl))
say(&CR&&11&Please wait while your records are created...*)
findsp
setequal(a=%aresp%)
saveuser(%var%a)
appendto(userfile.ndx,%var%D│\:PASS\│\:FROM\│%var%a│0)
say( |)
eline(55)
appendto(phones.dat,\:phone\)
seekuser(%var%D)
loadmem(control\open.ctl,goto (connect))
*BADPASS
say(&CR&&12&The passwords did not match. Please try again...&CR&)
goto (pass)
*fake
appendto(badnames.bbs,%name%)
log(--,User attempted log on with false info)
quitbbs
*inv
inc(t)
if (&t)=(2) then goto (fake)
goto(city)
*bp
say (&CR&&12&Please enter a more unique, hard to guess password.&CR&)
goto (pass)
UEDIT3CTL*StUEdit3
*ClearInfoBox
AnsiGoto (2,15)
Say ( *)
AnsiGoto (30,15)
Say ( *)
AnsiGoto (2,16)
Say ( *)
AnsiGoto (30,16)
Say ( *)
AnsiGoto (2,17)
Say ( *)
AnsiGoto (30,17)
Say ( *)
AnsiGoto (2,18)
Say ( *)
AnsiGoto (30,18)
Say ( *)
AnsiGoto (30,19)
Say ( *)
AnsiGoto (30,20)
Say ( *)
AnsiGoto (20,17)
MenuAsk (&15&Enter Name to Search For: &2&*)
SetEqual (v=%RESP%)
AnsiGoto (20,17)
Say (&12& Searching.... *)
AnsiGoto (39,17)
SetEqual (y=%var%z)
*FindIt
SeekUser (%var%v)
ifnottrue(goto (notfound))
SetEqual (z=%NDNUMB%)
Loadmem(control\uedit.ctl,goto(clearinfo))
*NotFound
AnsiGoto (20,17)
Say (&12&%var%v could not be found in the userfile.*)
SecPause (2)
AnsiGoto (20,17)
Say (&12& *)
SetEqual (z=%var%y)
SetEqual (m=0)
Loadmem (control\uedit.ctl,goto(clearinfo))
*Found
SetEqual (m=1)
SetEqual (z=%var%z)
Loadmem (control\uedit.ctl,goto(clearinfo))
*Another
AnsiGoto (20,17)
YesNoAsk(&15&Continue Search? *)
If (%RESP%)=(Yes) then goto (FindIt)
SetEqual (m=0)
Loadmem (control\uedit.ctl,goto(clearinfo))
DOWNATTCTLÉsetactivity(Downloading Files)
*pickprot
display (display\dnPROTS1)
MenuAsk (&3&Which transfer protocol would you like to use?&12&: &15&*)
if (%RESP%)=(Q) then goto (aborted)
len(%RESP%)
notif (%ARESP%)=(1) then goto (Pprob)
seek(protocol\%RESP%-Ad.BT)
iftrue (goto (Pok))
*pprob
loadsub(control\macros\badsel.ctl)
goto (pickprot)
*Pok
setequal(r=%RESP%)
setequal(x=%MSGATTNAME%)
size(%ATTPAT%%var%x)
ttime(%ARESP%)
cmpval(%TTIM%,/:LEFT/)
if (%ARESP%)=(No) then goto (notenuftime)
say(&11&)
say(We're ready to send the file. Please start receiving now.)
fixfile(protocol\%var%r-ad.bt,protocol\%var%r-ad.bat)
exec(protocol\%var%r-ad.BAT│)
kill(protocol\%var%r-ad.bat)
*success
notif (%ARESP%)=(0) then goto (aborted)
log(--,Attach downloaded (%var%x))
inpline(varr.%NODE%,1)
setequal(r=%ARESP%)
display(display\attsucc1)
Return
*notenuftime
display(display\NODLTIME)
inpline(varr.%NODE%,1)
setequal(r=%ARESP%)
Return
*aborted
log(--,Attach download aborted (%var%x))
setequal(x=)
flushout
inpline(varr.%NODE%,1)
setequal(r=%ARESP%)
display(display\attabt1)
Return
READCTLûclearscr
setequal(n=1)
setequal(x=1)
*read
setequal(r=0)
setequal(w=1)
setactivity(Reading Mail)
*rmail
notif (&n)=(1) then goto (endmr) ;if they came back...
setequal(n=0)
*brmail
linefeed(1)
himsg(/:LASTMSG/)
setequal(f=%ARESP%)
lowmsg(/:lastmsg/)
setequal(n=%ARESP%)
display (display\READ)
setequal(y=%ARESP%)
setequal(z=0)
numbmenuask%CRON%(&3&Which read mail number or option would you like?&12&: &15&*)
bignicesay(r:Reverse,q:quit,m:Since last read,s:Search,y:your mail,h:help)
bigif(r:rev,m:since,s:search,y:Your,h:help,<CR>:qt,q:qt)
number(%RESP%)
if (%RESP%)=(0) then goto (inv2)
iftrue (goto (nread))
goto (inv2)
*qt
return
*help
display(display\help\read,/:SEC/)
goto (brmail)
*nread
cmpval(%var%f,%RESP%)
iftrue (goto (inv2))
cmpval(%var%n,%RESP%)
ifnottrue(setequal(/resp=%var%n))
setequal(w=1)
setequal(y=%RESP%)
goto (repeat)
*since
msghigh(/:LASTMSG/)
setequal(y=%ARESP%)
cmpval(%var%f,%var%y)
iftrue (goto (inv2))
cmpval(%var%n,%VAR%Y)
ifnottrue(setequal(y=%var%n))
setequal(w=1)
setequal(s=0)
goto (repeat)
*repeat
inittxt
setequal(s=0)
getmail(%var%y,/:LASTMSG/,%var%w)
if (%MsgNumber%)=(0) then goto (0next)
setequal(z=10)
notif (%ARESP%)=(Yes) then goto (nope)
*banyway
clearscr
setequal(x=0)
setequal(s=0)
setequal(g=%RESP%)
nicedate(%MSGSNTD%)
say(&11&Message Number &3&%MsgNumber%&11& of &3&%var%f&11& was sent on&3& %ARESP%&11& at &3&*)
nicetime(%MSGSNTT%)
nicesay(%ARESP%&14&&CR& Sent by: &3&%MSGFROM%&CR&&14& Addressed to: &3&%MSGTO% )
say(&14& Regarding: &3&%MSGDESC% )
nicesay(&14& Status: &3&%MSGPVT%, %MSGRCVD%, Read %MSGRDTIMES% times, %REPLIES%)
spause(8)
if (%MSGATTACH%)=(Y) then if (%MSGPVT%)=(PRIVATE) then setequal(s=10)
if (%MSGATTACH%)=(Y) then say (&12&* &14&File Attached: &3&%MSGATTNAME%)
if (&s)=(10) then spause(9)
say(&8&────────────────────────────────────────────────────────────────────────&CR&&7&)
showtxt
*reading
if (&s)=(0) then display (display\READING)
if (&s)=(10) then display (display\READINGA)
numbmenuask %CRON%(&3&Which reading &11&option &3&or &11&message number&3&?&12&: &15&*)
bignicesay(e:edit,q:quit,r:reply,s:Show again,n:next,f:forward thread,p:previous message,k:kill,o:Forward,h:help)
if (&s)=(10) then bignicesay(d:Download Attach)
bigif (e:edit,o:forw,q:qdisp,s:repeat,r:reply,p:previous,f:follow,k:kill,n:next,h:help2)
bigif (d:downatt)
if (%RESP%)=(<CR>) then goto (next)
number(%RESP%)
iftrue (goto (nread))
setequal(s=5)
goto (inv2)
*help2
display(display\help\readn,/:SEC/)
goto (reading)
*downatt
zap(varr.%NODE%,%var%R)
linefeed(1)
loadsub(control\DOWNATT.CTL)
goto (repeat)
*forw
namequal(a=%MSGTO%)
namequal(b=%NAME%)
if (&a)=(&b) then goto (okf)
namequal(a=%MSGFROM%)
if (&a)=(&b) then goto (okf)
setequal(s=5)
goto (inv2)
*okf
loadsub(control\macros\forw.ctl)
goto (repeat)
*your
cmenuask(&CR&&3&Starting at which message number?&11&(%var%n-%var%f)&12&: &15&*)
say(&CR&&11&Searching...|)
clearmem
seekto(/:LASTMSG/,%NAME%,%RESP%)
if (%ARESP%)=(ERROR) then goto (endmr)
log(--,Scanned for (Y)our mail)
eline(25)
zap(seeking.%NODE%,1)
appendto(seeking.%NODE%,%NAME%)
if (%ARESP%)=(ERROR) then goto (endmr)
setequal(r=20)
setequal(u=0)
goto (snext)
*search
loadsub(control\macros\msearch.ctl)
if (%RESP%)=(Q) then goto (endmr)
notif (%ARESP%)=(ERROR) then goto (snext)
goto (endmr)
*rev
if (&y)=(0) then goto (inv2)
setequal(y=%var%f)
setequal(w=-1)
if (&y)=(0) then goto (inv2)
goto (repeat)
*snext
inc(u)
setequal(y=^:U^)
if (^:U^)=(MOREMAIL) then goto (fmore)
if (^:U^)=() then goto (endmr)
goto (repeat)
*fmore
addvar(&u+-1=u)
inpline(seeking.%NODE%,1)
setequal(p=%ARESP%)
inpline(seeking.%NODE%,2)
if (&p)=(1) then seekto(/:lastmsg/,%ARESP%,^:u^)
if (&p)=(2) then seekfrom(/:lastmsg/,%ARESP%,^:u^)
if (&p)=(3) then seekdesc(/:lastmsg/,%ARESP%,^:u^)
if (&p)=(4) then seektext(/:lastmsg/,%ARESP%,^:u^)
setequal(u=0)
goto (repeat)
*lnext
inc(u)
setequal(y=^:U^)
if (^:U^)=() then goto (endmr)
goto (repeat)
*qdisp
linefeed(1)
if (&r)=(10) then goto (endmr)
Return
*0next
if (&r)=(10) then goto (lnext)
if (&r)=(20) then goto (snext)
if (&y)=(0) then goto (inv2)
if (&y)=(-1) then goto (inv2)
addvar(%var%y+%var%w=y)
if (&y)=(0) then goto (inv2)
cmpval(%var%f,%var%y)
iftrue (goto (inv2))
goto (repeat)
*smore
notif (&x)=(1) then say(&10&Searching for more messages...|)
setequal(x=1)
setequal(s=10)
*next
if (&r)=(10) then goto (lnext)
if (&s)=(0) then goto (smore)
if (&r)=(20) then goto (snext)
if (&y)=(0) then goto (inv2)
if (&y)=(-1) then goto (inv2)
notif (%MRESP%)=() then goto (sknext)
addvar(%var%y+%var%w=y)
if (&y)=(0) then goto (inv2)
cmpval(%var%f,%var%y)
iftrue (goto (inv2))
goto (repeat)
*sknext
setequal(y=%MRESP%)
if (&y)=(0) then goto (inv2)
cmpval(%var%f,%var%y)
iftrue (goto (inv2))
goto (repeat)
*kill
enufsec(100)
iftrue(goto (stkill))
setequal(a=%NAME%)
upcase(a)
setequal(i=%MSGFROM%)
upcase(i)
setequal(j=%MSGTO%)
upcase(j)
notif (&i)=(&a) then notif (&j)=(&a) then goto (repeat)
if (%MSGNAMEC%)=(Yes) then goto (repeat)
*stkill
msgkill (/:LASTMSG/,%var%y)
say(&12&&CR&Message #%var%y has been deleted!&CR&)
goto (next)
*follow
if (%REPLIES%)=(NO REPLIES) then goto (nomore)
setequal(s=5)
setequal(q=%MSGPREV%)
if (%MSGPREV%)=(0) then setequal(q=%var%y)
nextforward(%var%q,%var%y,/:LASTMSG/)
if (%ARESP%)=(0) then goto (nomore)
setequal(y=%ARESP%)
goto (repeat)
*nomore
say(&CR&&12&There are no more replies to this message.&CR&)
goto (reading)
*previous
setequal(s=5)
if (%MSGPREV%)=(0) then goto (inv2)
setequal(y=%MSGPREV%)
goto (repeat)
*edit
loadsub(control\macros\edit.ctl)
goto (repeat)
*reply
loadsub(control\macros\reply.ctl)
goto (repeat)
*inv2
if (&s)=(10) then goto (abb)
say(&CR&&12&Invalid selection! Please try again...)
secpause(1)
flushout
if (&s)=(5) then goto (reading)
*abb
if (&z)=(0) then goto (brmail)
goto (endmr)
*nope
if (%ARESP%)=(ERROR) then goto (next)
if (%ARESP%)=(DELETED) then goto (next)
enufsec(100)
iftrue (goto (banyway))
goto (next)
*endmr
say(&11&&CR& ══ &14&No more mail found for you to read, %FNAME%&11& ══&CR&)
enter
Return
UEDITCTL└*StUEdit
*edit
SetEqual (f=1)
SetEqual (e=0)
SetEqual (w=0)
SetEqual (z=1)
SetEqual (m=0)
*moreedit
ClearScr
LoadUser(%var%z)
SetEqual (x=0)
*EvenMoreEdit
AnsiGoto (1,1)
If (&w)=(1) then goto (putinfo)
Say ($0$&15&Name : Birthdate: )
Say (Street : Times On: )
Say (From : Computer Using: )
Say (Phone : Carrier Drops: )
Say (Sec : Work Phone: )
Say (Passwd : Subscriber: )
Say (TimeLeft: Sub Date Exp: )
Say (Memo : )
Say (Downlds : Avail For Chat: )
Say (Uploads : )
Say (KDled : )
Say (KUled : )
*PutInfo
AnsiGoto (11,1)
Say (&14&\:NAME\*)
AnsiGoto (11,2)
Say (\:STREET\*)
AnsiGoto (11,3)
Say (\:FROM\*)
AnsiGoto (11,4)
Say (\:PHONE\*)
AnsiGoto (11,5)
Say (\:SEC\*)
AnsiGoto (11,6)
Say (\:PASS\*)
AnsiGoto (11,7)
Say (\:LEFT\*)
AnsiGoto (11,8)
Say (\:MEMO\*)
AnsiGoto (11,9)
Say (\:DOWNLOADS\*)
AnsiGoto (11,10)
Say (\:UPLOADS\*)
AnsiGoto (11,11)
Say (\:KDOWN\*)
AnsiGoto (11,12)
Say (\:KUP\*)
AnsiGoto (51,1)
Say (\:BIRTH\)
AnsiGoto (51,2)
Say (\:TIMESON\)
AnsiGoto (51,3)
Say (\:COMP\)
AnsiGoto (51,4)
Say (\:DROPPED\)
AnsiGoto (51,5)
Say (\:WORK\)
AnsiGoto (51,6)
Say (\:SUB\)
AnsiGoto (51,7)
Say (\:SUBDATE\)
AnsiGoto (51,9)
Say (\:DEFAVAIL\)
AnsiGoto (1,14)
If (&x)=(1) then goto (Check)
If (&e)=(1) then goto (Secondary)
If (&m)=(1) then goto (Secondary)
*AndMore
Say (&4&╔═══════════════════════════════════════════════════════════════════════════╗)
Say (║&7& KEYS: Edit this User &4& ║)
Say (║&7& 2 = Move Down Next User &4& ║)
Say (║&7& 8 = Move Up Previous User &4& ║)
Say (║&7& (ENTER) Selects Last User &4& ║)
Say (║&7& Search for User &4& ║)
Say (║&7& Quit to Sysop Menu &4& ║)
Say (╚═══════════════════════════════════════════════════════════════════════════╝)
Goto (Check)
*Secondary
Say (&4&╔═══════════════════════════════════════════════════════════════════════════╗)
Say (║ ║)
Say (║ ║)
Say (║ ║)
Say (║ ║)
Say (║ ║)
Say (║ ║)
Say (╚═══════════════════════════════════════════════════════════════════════════╝)
If (&m)=(1) then loadmem(control\uedit3.ctl,goto(Another))
If (&e)=(1) then loadmem(control\uedit2.ctl,goto(Edit))
*Check
If (&f)=(1) then goto (place1)
If (&f)=(2) then goto (place2)
If (&f)=(3) then goto (place3)
If (&f)=(4) then goto (place4)
If (&f)=(5) then goto (place5)
If (&f)=(6) then goto (place6)
*more
MenuKey%CRON%
if (%resp%)=(<CR>) then goto (chkifs)
bigif (2:movehighlightfd,8:movehighlightbk,f:first,q:exedit)
Goto(BadSel)
*Chkifs
NotIf (&f)=(2) then goto (moreifs)
goto (cont)
*moreifs
If (&f)=(6) then goto (exedit)
NotIf (&f)=(3) then goto (lastifs)
Goto (cont)
*lastifs
NotIf (&f)=(4) then Loadmem(control\uedit2.ctl,goto(selection))
*Cont
If (&f)=(4) then goto (Last)
If (&f)=(3) then goto (prev)
SaveUser (%var%z)
inc(z)
Numbusers()
SetEqual (d=%ARESP%)
inc(d)
CmpVal(%var%d,%var%z)
iftrue (setequal(Z=%var%d))
SetEqual (x=1)
Goto (Clearinfo)
*Prev
SaveUser (%var%z)
SetEqual (z=%var%z)
NotIf (&z)=(0) then AddVar (&z+-1=z)
If (&z)=(0) then SetEqual (z=1)
SetEqual (x=1)
Goto (Clearinfo)
*Last
SaveUser (%var%z)
Numbusers
SetEqual (z=%ARESP%)
SetEqual (x=0)
Goto (ClearInfo)
*First
SetEqual (z=1)
Goto (ClearInfo)
*Temp
ClearScr
return
*EditUser
Say (&7&Enter letter of item to change (Q to Quit Changing): *)
MenuKey
Say (&15& %RESP%)
BigIf(N:ChgName,S:ChgSt,F:ChgFrom,H:ChgPhone,C:ChgSec,P:ChgPass,T:ChgTL)
BigIf(M:ChgMemo,D:ChgDls,U:ChgUls,K:ChgDlK,L:ChgUlK,Q:Quit)
Goto(BadSel)
*BadSel
AnsiGoto (30,15)
Say ( *)
AnsiGoto (30,16)
Say ( *)
AnsiGoto (30,17)
Say ( *)
AnsiGoto (30,18)
Say ( *)
AnsiGoto (30,19)
Say ( *)
AnsiGoto (30,20)
Say ( *)
AnsiGoto (30,17)
Say (&12&Invalid Selection!*)
SecPause(2)
AnsiGoto (1,14)
Goto (AndMore)
*Quit
SetEqual (f=1)
SetEqual (e=0)
SetEqual (z=1)
SetEqual (m=0)
SetEqual (e=0)
Goto (EvenMoreEdit)
*Place1
AnsiGoto (30,15)
Say ($7$&0&Edit this User$0$*)
Goto (more)
*Place2
AnsiGoto (30,16)
Say ($7$&0&Next User$0$*)
Goto (more)
*Place3
AnsiGoto (30,17)
Say ($7$&0&Previous User$0$*)
Goto (more)
*Place4
AnsiGoto (30,18)
Say ($7$&0&Last User$0$*)
Goto (more)
*Place5
AnsiGoto (30,19)
Say ($7$&0&Search for User$0$*)
Goto (more)
*Place6
AnsiGoto (30,20)
Say ($7$&0&Quit to Sysop Menu$0$*)
Goto (more)
*NormPlace1
AnsiGoto (30,15)
Say ($0$&7&Edit this User)
SetEqual (f=2)
Goto (check)
*NormPlace2
AnsiGoto (30,16)
Say ($0$&7&Next User)
SetEqual (f=3)
Goto (check)
*NormPlace3
AnsiGoto (30,17)
Say ($0$&7&Previous User)
SetEqual (f=4)
Goto (check)
*NormPlace4
AnsiGoto (30,18)
Say ($0$&7&Last User)
SetEqual (f=5)
Goto (check)
*NormPlace5
AnsiGoto (30,19)
Say ($0$&7&Search for User)
SetEqual (f=6)
Goto (check)
*NormPlace6
AnsiGoto (30,20)
Say ($0$&7&Quit to Sysop Menu)
SetEqual (f=1)
Goto (Check)
*BkPlace1
AnsiGoto (30,15)
Say ($0$&7&Edit this User)
SetEqual (f=6)
Goto (check)
*BkPlace2
AnsiGoto (30,16)
Say ($0$&7&Next User)
SetEqual (f=1)
Goto (check)
*BkPlace3
AnsiGoto (30,17)
Say ($0$&7&Previous User)
SetEqual (f=2)
Goto (check)
*BkPlace4
AnsiGoto (30,18)
Say ($0$&7&Last User)
SetEqual (f=3)
Goto (check)
*BkPlace5
AnsiGoto (30,19)
Say ($0$&7&Search for User)
SetEqual (f=4)
Goto (check)
*BkPlace6
AnsiGoto (30,20)
Say ($0$&7&Quit to Sysop Menu)
SetEqual (f=5)
Goto (Check)
*MoveHighlightFd
setequal(/resp=%var%f)
bigif(1:normplace1,2:normplace2,3:normplace3,4:normplace4,5:normplace5,6:normplace6)
Goto (Edit)
*MoveHighlightBk
setequal(/resp=%var%f)
bigif(1:Bkplace1,2:Bkplace2,3:Bkplace3,4:Bkplace4,5:Bkplace5,6:Bkplace6)
Goto (Edit)
*ClearInfo
AnsiGoto (11,1)
Say ( *)
AnsiGoto (11,2)
Say ( *)
AnsiGoto (11,3)
Say ( *)
AnsiGoto (11,4)
Say ( *)
AnsiGoto (11,5)
Say ( *)
AnsiGoto (11,6)
Say ( *)
AnsiGoto (11,7)
Say ( *)
AnsiGoto (11,8)
Say ( *)
AnsiGoto (11,9)
Say ( *)
AnsiGoto (11,10)
Say ( *)
AnsiGoto (11,11)
Say ( *)
AnsiGoto (11,12)
Say ( *)
AnsiGoto (51,1)
Say ( *)
AnsiGoto (51,2)
Say ( *)
AnsiGoto (51,3)
Say ( *)
AnsiGoto (51,4)
Say ( *)
AnsiGoto (51,5)
Say ( *)
AnsiGoto (51,6)
Say ( *)
AnsiGoto (51,7)
Say ( *)
AnsiGoto (51,9)
Say ( *)
LoadUser (%var%z)
SetEqual (x=0)
Goto (PutInfo)
*exedit
clearscr
return
DOORSMNU⌐*disp
SetActivity (Doors Menu)
if (/Expert)=(Y) then linefeed(1)
if (/EXPERT)=(Y) then goto (prompt)
*sdisp
Display (display\doors,/:SEC/)
*prompt
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (G:GOODBYE,Q:MAIN,H:HELP,?:SDISP,X:EXP)
number(%RESP%)
ifNotTrue( goto (bsel))
seek(door%RESP%.Bat)
ifnottrue(goto (bsel))
Display(Display\door%RESP%)
Log(--,Executing Door #%RESP%)
FixFile (door.bt,door.bat)
Say(&14&&CR&Please wait, Opening Door #%resp% . . .*)
Exit (80,door|)
*bsel
loadsub(control\macros\badsel.ctl)
goto (disp)
*GOODBYE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*MAIN
LoadMem(CONTROL\MAIN.MNU)
*HELP
EnufSec(10)
IfNotTrue(Goto(BSel))
Display(display\help\door,/:SEC/)
Log (--,Viewed Doors Menu Help)
Goto (Disp)
*EXP
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
QUESDEFSysops
QUESMNUN*disp
SetActivity (Questionnaires)
if (/Expert)=(Y) then linefeed(1)
if (/EXPERT)=(Y) then goto (prompt)
*sdisp
Display (display\ques,/:SEC/)
*prompt
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Minutes Remain. &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (G:GOODBYE,Q:MAIN,H:HELP,?:SDISP,X:EXP)
number(%RESP%)
if (%ARESP%)=(No) then goto (bsel)
say(&7&)
clearscr
seek(ques\QUEST%RESP%.que)
if (%ARESP%)=(No) then goto (bsel)
loadsub(ques\QUEST%RESP%.que)
goto (disp)
*bsel
loadsub(control\macros\badsel.ctl)
goto (disp)
*GOODBYE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*MAIN
LoadMem(CONTROL\MAIN.MNU)
*HELP
Display(display\help\ques,/:SEC/)
Log (--,Viewed Questionnaires Help)
Goto (Disp)
*EXP
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
FILESMNUI *disp
SetActivity (Files Menu)
if (/expert)=(Y) then linefeed(1)
if (/EXPERT)=(Y) then goto (prompt)
*sdisp
Display (display\file,/:SEC/)
*prompt
menuask %MIN1%(&0&$7$%CACT%$0$&7& %LEFT% Left &3&[/:LASTMSG/:%FILNAME%] &15&Please select, &14&%FNAME%&12&: &15&*)
BigIf (G:GOODBYE,H:HELP,?:SDISP,X:EXP,Q:MAIN,C:CHANGE,L:LIST,R:READ,V:ZVIEW,N:NEW,D:DOWN,U:UP,M:MOVE,J:JOIN,DEL:DELTAGGED,TAG:TAGFILES,LIST:LTAGGED,S:SEARCH,W:WILD,A:ABAND)
goto (badsel)
*badsel
loadsub(control\macros\badsel.ctl)
goto (disp)
*pauseprompt
defpause($7$&0&[Send more text?]$0$&3& (&11&S&3&)top, (&11&N&3&)onstop or (&11&C&3&)ontinue?&12&: &7&)
defPif(s:stop,n:nonstop)
ret
*GOODBYE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\BYE.CTL)
Goto(Disp)
*HELP
EnufSec(10)
IfNotTrue(Goto(BSel))
Display(display\help\file,/:SEC/)
Log (--,Viewed Files Menu Help)
Goto (Disp)
*EXP
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\EXPERT.CTL)
Goto(Disp)
*MAIN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadMem(CONTROL\MAIN.MNU)
*CHANGE
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\CHANGE.CTL)
Goto(Disp)
*LIST
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\FLIST.CTL)
Goto(Disp)
*READ
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\FREAD.CTL)
Goto(Disp)
*ZVIEW
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\ZVIEW.CTL)
Goto(Disp)
*NEW
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\NEW.CTL)
Goto(Disp)
*DOWN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\DOWN.CTL)
Goto(Disp)
*UP
EnufSec(20)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\UP.CTL)
Goto(Disp)
*MOVE
EnufSec(100)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\MOVE.CTL)
Goto(Disp)
*JOIN
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\CHG.CTL)
Goto(Disp)
*DELTAGGED
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\DELTAG.CTL)
Goto(Disp)
*TAGFILES
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\TFILES.CTL)
Goto(Disp)
*LTAGGED
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\LTAGGED.CTL)
Goto(Disp)
*SEARCH
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\SEARCH.CTL)
Goto(Disp)
*WILD
LoadSub(CONTROL\MACROS\WSEARCH.CTL)
Goto(Disp)
*ABAND
EnufSec(10)
IfNotTrue(Goto(BSel))
LoadSub(CONTROL\MACROS\ABAND.CTL)
Goto(Disp)